package com.strp.mptcp.common;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;

/**
 * @author 曹行阳
 * @version 0.1
 * @date 2025/6/12 11:28
 */
public class DataChunkEncoder extends MessageToByteEncoder<DataChunk> {
    @Override
    protected void encode(ChannelHandlerContext ctx, DataChunk msg, ByteBuf out) {
        msg.encode(out);
    }
}